<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <div th:relace="~{fragment/header::header}"></div>
    <div th:relace="~{fragment/header::header-css}"></div>
    <div th:relace="~{fragment/header::header-nav}"></div>
</head>
<body>
<form  th:action="@{user/save}" th:object="${user}" method="post">
        <input  type="hidden" th:field="*{id}">
        <div class="mb-3">
            <label for="username" class="form-label">用户名</label>
            <input type="text" th:field="*{username}" class="form-control" id="username" aria-describedby="emailHelp">
            <div id="emailHelp" class="form-text">我们不会以任何不法渠道兜售你的个人信息。</div>
        </div>
        <div class="mb-3">
            <label for="password" class="form-label">密码</label>
            <input type="password" th:field="*{password}" class="form-control" id="password">
        </div>
        <div class="mb-3 form-check">
            <input type="checkbox" class="form-check-input" id="exampleCheck1">
            <label class="form-check-label" for="exampleCheck1">检查</label>
        </div>
        <button type="submit" class="btn btn-primary">提交</button>
</form>
<div th:relace="~{fragment/header::header=js}"></div>
<div th:relace="~{fragment/footer::footer}"></div>
</body>
</html>